package com.nervenets.shopping.service;

import com.nervenets.general.service.BaseService;
import com.nervenets.shopping.enumeration.UnionType;
import com.nervenets.shopping.hibernate.domain.common.Fav;

import java.util.List;

public interface FavService extends BaseService<Fav> {
    List<Long> favIds(long userId, UnionType unionType);

    List<Long> fav(long userId, UnionType unionType, long unionId) throws Exception;
}
